package com.qf.cx.simplenms.reader.tag;

public class Statistic {
	private String reader;
	private int ant;
	private int count;

	public String getReader() {
		return reader;
	}

	public void setReader(String reader) {
		this.reader = reader;
	}

	public int getAnt() {
		return ant;
	}

	public void setAnt(int ant) {
		this.ant = ant;
	}

	public int getCount() {
		return count;
	}

	public void setCount(int count) {
		this.count = count;
	}

	public void mergeStatistic(Statistic statistic) {
		this.count += statistic.count;
	}

	@Override
	public String toString() {
		return "Statistic [reader=" + reader + ", ant=" + ant + ", count=" + count + "]";
	}

}
